package vip.zhenzicheng.nio.nio;

import vip.zhenzicheng.nio.Const;

/**
 * NIO 通信服务端
 *
 * @author zhenzicheng
 * @date: 2022-06-01 19:30
 */
public class NioServer {
  private static NioServerHandle nioServerHandle;

  public static void main(String[] args) {
    nioServerHandle = new NioServerHandle(Const.DEFAULT_PORT);
    new Thread(nioServerHandle, "Server").start();
  }
}
